package com.coderman.basketball.domain.gataway.activity;

import com.coderman.basketball.domain.model.activity.GameAggregateBO;
import com.coderman.basketball.domain.model.activity.GameBO;
import com.coderman.basketball.domain.model.activity.GamePlayerBO;

import java.util.List;

/**
 * Description:
 * date: 2021/5/19
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public interface GameRepository {
    /**
     * 导入比赛活动
     * @param gameBOList
     * @return
     */
    List<Long>  importGameList(List<GameBO> gameBOList);

    /**
     * 根据比赛ID获取比赛活动详情数据
     * @param gameAggregateBO
     * @return
     */
    GameAggregateBO getByGameId(GameAggregateBO gameAggregateBO);

    /**
     * 初始化球员信息
     * @param gameAggregateBO
     */
    void initGamePlayer(GameAggregateBO gameAggregateBO);


}
